#include <iostream>
#include <cmath>

using namespace std;

int main() {
    double a; //木棍长度
    int count=1;
    scanf("%lf", &a);
    while (a != 1) {
        a = floor(a / 2);
        count++;
    }
    printf("%d",count);
    return 0;
}
